Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add Monerium for Polygon and Gnosis chain #125

Merged
merged 1 commit into from
Jan 13, 2024

Conversation

OjusWiZard
Copy link
Contributor

Added the queries for the v22 update to insert EURe token in Polygon and Gnosis chain

updates/22/updates.sql Outdated Show resolved Hide resolved
@OjusWiZard
Copy link
Contributor Author

OjusWiZard commented Dec 7, 2023

@yabirgb here's the sqldiff

INSERT INTO asset_collections(id,name,symbol) VALUES(240,'Monerium EUR','EURe');
INSERT INTO assets(rowid,identifier,name,type) VALUES(5433,'eip155:137/erc20:0x18ec0A6E18E5bc3784fDd3a3634b31245ab704F6','Monerium EUR emoney','C');
INSERT INTO assets(rowid,identifier,name,type) VALUES(5434,'eip155:100/erc20:0xcB444e90D8198415266c6a2724b7900fb12FC56E','Monerium EUR emoney','C');
INSERT INTO common_asset_details(rowid,identifier,symbol,coingecko,cryptocompare,forked,started,swapped_for) VALUES(5433,'eip155:137/erc20:0x18ec0A6E18E5bc3784fDd3a3634b31245ab704F6','EURe','monerium-eur-money','',NULL,1648476316,NULL);
INSERT INTO common_asset_details(rowid,identifier,symbol,coingecko,cryptocompare,forked,started,swapped_for) VALUES(5434,'eip155:100/erc20:0xcB444e90D8198415266c6a2724b7900fb12FC56E','EURe','monerium-eur-money','',NULL,1669766730,NULL);
INSERT INTO evm_tokens(rowid,identifier,token_kind,chain,address,decimals,protocol) VALUES(4532,'eip155:137/erc20:0x18ec0A6E18E5bc3784fDd3a3634b31245ab704F6','A',137,'0x18ec0A6E18E5bc3784fDd3a3634b31245ab704F6',18,NULL);
INSERT INTO evm_tokens(rowid,identifier,token_kind,chain,address,decimals,protocol) VALUES(4533,'eip155:100/erc20:0xcB444e90D8198415266c6a2724b7900fb12FC56E','A',100,'0xcB444e90D8198415266c6a2724b7900fb12FC56E',18,NULL);
INSERT INTO multiasset_mappings(rowid,collection_id,asset) VALUES(618,240,'eip155:1/erc20:0x3231Cb76718CDeF2155FC47b5286d82e6eDA273f');
INSERT INTO multiasset_mappings(rowid,collection_id,asset) VALUES(619,240,'eip155:137/erc20:0x18ec0A6E18E5bc3784fDd3a3634b31245ab704F6');
INSERT INTO multiasset_mappings(rowid,collection_id,asset) VALUES(620,240,'eip155:100/erc20:0xcB444e90D8198415266c6a2724b7900fb12FC56E');

Copy link
Member

@yabirgb yabirgb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@yabirgb yabirgb merged commit 6ee291b into rotki:develop Jan 13, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants